//
//  SearchOfFlowLayout.h
//  PetAPP
//
//  Created by apple on 16/2/29.
//  Copyright © 2016年 Yuming. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SearchOfFlowLayoutDelegate <NSObject>

// 获取item高度
- (CGFloat)widthForItemIndexPath:(NSIndexPath *)indexPath AndCollectioinView:(UICollectionView *)collectionView;

- (void)setCollectionViewFrameWithCollectionView:(UICollectionView *)collection AndSize:(CGSize)size;

@end

@interface SearchOfFlowLayout : UICollectionViewFlowLayout

@property (nonatomic, assign) id<SearchOfFlowLayoutDelegate>delegate;

// item 间距
@property (nonatomic,assign)CGFloat insertItemSpacing;

@end
